package com.rpframework.website.device.dao;
import java.util.List;
import java.util.Map;

import com.rpframework.core.IDao;
import com.rpframework.website.device.domain.Praise;



public interface IPraiseDao extends IDao{

	List<Praise> doPager(Map<?,?> paramMap);

	List<Praise> queryAll();

	Integer doPriceCount(Integer relativeId, Integer type, Integer status);

	Integer doIsPraise(Integer id, Integer type, Integer userId);

	Praise doPraiseByUser(Integer id, Integer type,Integer userId, Integer status);
	Integer doIsPraises(Integer id, Integer userId, Integer status);
	Integer queryIntegral(Integer userId,Integer relativeId,Integer status);
}
